# -*- coding: utf-8 -*-
import numpy as np
import matplotlib.pyplot as plt
from pylab import mpl
from skimage import io,data

def mainn(img):
    mpl.rcParams['font.sans-serif']=['FangSong']
    mpl.rcParams['axes.unicode_minus']=False
    f=np.fft.fft(img)
    fshift=np.fft.fftshift(f)
    fimg=np.log(np.abs(fshift))
    return fimg
    
        


